//package controller
//
//import (
//	"github.com/SupenBysz/gf-admin-community/utility/funs"
//	"github.com/SupenBysz/gf-admin-company-modules/co_model"
//	"github.com/SupenBysz/gf-admin-company-modules/co_model/co_enum"
//	"server/api"
//)
//
//// CreateExamination 新建一轮考试成绩
//func (c *SchoolController) CreateExamination(ctx context.Context, req *api.CreateClassReq) (*api.Response, error) {
//	return funs.CheckPermission(ctx,
//		func() (*co_model.CompanyRes, error) {
//			ret, err := c.modules.Company().GetCompanyById(c.makeMore(ctx), req.Id)
//			return ret, err
//		},
//		co_enum.Company.PermissionType(c.modules).ViewDetail,
//	)
//}
//
//
//// CreateExamination 考试成绩查询
//func (c *SchoolController) QueryExamination(ctx context.Context, req *api.CreateClassReq) (*api.Response, error) {
//	return funs.CheckPermission(ctx,
//		func() (*co_model.CompanyRes, error) {
//			ret, err := c.modules.Company().GetCompanyById(c.makeMore(ctx), req.Id)
//			return ret, err
//		},
//		co_enum.Company.PermissionType(c.modules).ViewDetail,
//	)
//}